package com.mcf.xiaolinju.mapper;

import com.mcf.xiaolinju.entity.Classify;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author mcf
 * @since 2022-02-26
 */
public interface ClassifyMapper extends BaseMapper<Classify> {

    //根据bigclassifyid查询
    public List<Classify> getallbyclassid(int id);
    //查询所有的分类
    public List<Classify> getall();

}
